.device-message {
  padding: 0 24px;
  width: calc(100% - 48px);
  top: 0;
  bottom: 0;
  overflow: auto;
  :global(.van-dropdown-item) {
    left: 24px !important;
    right: 24px;
  }
  .device-message-dropdown {
    :global(.van-overlay) {
      background-color: transparent;
    }
  }
  .device-message-title {
    color: #fff;
    font-weight: bolder;
    display: flex;
    justify-content: space-between;
    :global(.van-radio__label) {
      color: #fff;
    }
    :global(.van-icon) {
      border-color: #fff;
    }
  }
  .device-message-response {
    width: 100%;
    min-height: 68px;
    background-color: #fff;
    overflow: auto;
  }
  .device-message-btn {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
  }
  .device-message-input-item {
    display: flex;
    margin-bottom: 4px;
    > img {
      width: 24px;
      padding: 10px 0 10px 10px;
    }
  }

  .device-message-popup {
    padding: 24px;
    .device-message-popup-content {
      margin-top: 8px;
      > div {
        padding: 8px 0;
      }
    }
    .device-message-popup-btn {
      display: flex;
      justify-content: flex-end;
    }
  }
  .device-message-array-popup {
    padding: 24px 0;
    width: 300px;
    &:first-child {
      margin-left: 16px;
    }
  }
  .device-message-item-array {
    background-color: #fff;
    flex: 1;
    height: 44px;
    line-height: 44px;
    overflow: auto;
  }
  .device-message-complex {
    color: #20a5de;
    background-color: #fff;
    padding: 8px;
    margin: 8px 0;
  }
}

.permission {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  line-height: 28px;
  span {
    font-size: 14px;
    font-weight: bolder;
  }
}
